package com.lebang.medicalInquiry.model.chat;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

@Data
public class ChatRespone {

    private String id;


    private Long created;


    private String model;

    private List<Choices> choices;

    private String usage;

    @Data
    public class Choices {

        private Integer index;

        @JSONField(name = "finish_reason")
        private String finishReason;

        private Delta delta;

        private Delta message;

        @Data
        public class Delta {

            private String content;

            private String role;

            @JSONField(name = "function_call")
            private String functionCall;

        }

    }



}
